﻿using B.MES.Customer.Domain;
using B.MES.Customer.Domain.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Application.IApplication
{
    /// <summary>
    /// 支出服务层
    /// </summary>
    public interface IAdditionalExpenditureApplication:IBaseApplication<AdditionalExpenditure>
    {
        int AddadditionalExpenditure(AdditionalExpenditure additionalExpenditure);
        PageApiResut<AdditionalExpenditureDTO> GetAdditionalExpenditure(int PageIndex, int PageSize);
        List<ExpenditureType> GetExpenditureType();
        AdditionalExpenditure EditAdditionalExpenditure(int NewExpenditureId);
        APIResult<AdditionalExpenditure> DeleteAdditionalExpenditure(int NewExpenditureId);
        APIResult<List<AdditionalExpenditure>> DeleteAdditionalExpenditure(List<AdditionalExpenditure> list);
        APIResult<AdditionalExpenditure> UpdateAdditionalExpenditure(AdditionalExpenditure additionalExpenditure);

    }
}
